package com.clkj.xiuzheng.pojo.shangcheng;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author yawang
 * @date Fri May 17 15:07:18 CST 2024
 */
@ApiModel( value ="t_xz_userScore" )
@Table( name ="t_xz_userScore" )
public class UserScore  implements Serializable {


	/**
	 * 用户积分积分记录表
	 */
	@Id
   	@Column(name = "score_id" ,updatable = false)
	@ApiModelProperty( value="用户积分积分记录表")
	private Integer scoreId;

	/**
	 * 0 购物 1 充值 2提现
	 */
   	@Column(name = "score_type" )
	@ApiModelProperty( value="0 购物 1 充值 2提现")
	private Integer scoreType;

	/**
	 * 用户id
	 */
   	@Column(name = "user_id" )
	@ApiModelProperty( value="用户id")
	private Integer userId;

	/**
	 * 积分变动数额
	 */
   	@Column(name = "score_num" )
	@ApiModelProperty( value="积分变动数额")
	private Integer scoreNum;

	/**
	 * 购物时的订单编号
	 */
   	@Column(name = "order_number" )
	@ApiModelProperty( value="购物时的订单编号")
	private String  orderNumber;

	/**
	 * 创建时间
	 */
   	@Column(name = "create_time" )
	@ApiModelProperty( value="创建时间")
	private String createTime;

   	@Column(name = "diamond_num" )
	@ApiModelProperty( value="钻石数")
	private Integer diamondNum;

    @Column(name = "used_money" )
    @ApiModelProperty( value="该订单使用的余额")
    private Double usedMoney;

    @Column(name = "accept_money" )
    @ApiModelProperty( value="该订单获得到的余额")
    private Integer acceptMoney;

  public Integer getScoreId() {
    return scoreId;
  }

  public void setScoreId(Integer scoreId) {
    this.scoreId = scoreId;
  }


  public Integer getScoreType() {
    return scoreType;
  }

  public void setScoreType(Integer scoreType) {
    this.scoreType = scoreType;
  }


  public Integer getUserId() {
    return userId;
  }

  public void setUserId(Integer userId) {
    this.userId = userId;
  }


  public Integer getScoreNum() {
    return scoreNum;
  }

  public void setScoreNum(Integer scoreNum) {
    this.scoreNum = scoreNum;
  }


  public String getOrderNumber() {
    return orderNumber;
  }

  public void setOrderNumber(String orderNumber) {
    this.orderNumber = orderNumber;
  }


  public String getCreateTime() {
    return createTime;
  }

  public void setCreateTime(String createTime) {
    this.createTime = createTime;
  }

    public Integer getDiamondNum() {
        return diamondNum;
    }

    public void setDiamondNum(Integer diamondNum) {
        this.diamondNum = diamondNum;
    }

    public Double getUsedMoney() {
        return usedMoney;
    }

    public void setUsedMoney(Double usedMoney) {
        this.usedMoney = usedMoney;
    }

    public Integer getAcceptMoney() {
        return acceptMoney;
    }

    public void setAcceptMoney(Integer acceptMoney) {
        this.acceptMoney = acceptMoney;
    }
}
